package com.evaluationsystem.system.dao;

import com.evaluationsystem.system.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserInfoDao {

    UserInfo selectByvUsername(@Param("username") String username);

    int deleteByPrimaryKey(@Param("vuserid") String vuserid);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(@Param("vuserid") String vuserid);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    String UserIdByUserid(@Param("userid") String userid);


    List<UserInfo> selectUserInfoAll(Map<String, Object> param);

    int uptypeById(Map<String,Object> param);

    UserInfo selectByUserId(Map<String,Object> param);

    int upInsertUser(Map<String, Object> param);

}